package me.zhengjie.modules.mnprogram.repository;

import me.zhengjie.modules.mnprogram.domain.WxUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface WxUserRepository extends JpaRepository<WxUser,String>, JpaSpecificationExecutor<WxUser> {

   public WxUser findUserByOpenid(String openid);

   //public  User findUserByOpenidOrId(String openid,String id);
}
